package com.atguigu.spring6.di_test;

import java.util.List;

public class dept {
    private String name;
    private List<Integer> list;

    public void info()
    {
        list.forEach(System.out::println);
    }
    public List<Integer> getList() {
        return list;
    }

    public void setList(List<Integer> list) {
        this.list = list;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
